package com.example.demothreadlocal.service;

import com.example.demodao.entity.SysUser;
import com.example.demodao.mapper.SysUserMapper;
import com.example.service.SysUserService;

import java.util.List;
import java.util.concurrent.CountDownLatch;

/**
 * @version 1.0.0
 * @className: AsyncService
 * @description:
 * @author: zhangjunfa
 * @date: 2023/1/4 9:48
 */
public interface AsyncService {

    /** * 执行异步任务 * 可以根据需求，自己加参数拟定，我这里就做个测试演示 */
    void asyncBatchInsertCatalog( CountDownLatch countDownLatch, List<SysUser> catalogList);
}
